package com.hzbank.qwencode.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * QwenCode 流式响应数据块模型
 */
@Data
@AllArgsConstructor
@Schema(description = "QwenCode 流式响应数据块模型")
public class QwencodeStreamChunk {

    @Schema(description = "编码的文本块", required = true)
    private String encodedChunk;

    @Schema(description = "是否为最后一个块", required = true, defaultValue = "false")
    private boolean done = false;

}